package com.cnbot.dcidcard;


/**
 * Copyright (c) 2016--2019/3/16  Hunan Cnbot Co., Ltd. All Rights Reserved.
 *
 * @descriptoin 身份证详细信息
 * @FileName: IdCardInfoBean.java
 * @author: dc
 * @date: 2019/3/16 9:04
 * @version: 1.0
 */

public class IdCardInfoBean {
    private int type;
    private String name;
    private String sex;
    private String nation;
    private String birthday;
    private String address;
    private String id;
    private String office;
    private String startTime;
    private String endTime;
    private String foreign_name;
    private String foreign_sex;
    private String foreign_id;
    private String foreign_citizenship;
    private String foreign_chinese_name;
    private String foreign_expire_start_day;
    private String foreign_expire_end_day;
    private String foreign_birth_day;
    private String foreign_version_number;
    private String foreign_department_code;
    private String foreign_type_sign;
    private String foreign_reserved;
    private String hongkong_macao_taiwan_nameStr;
    private String hongkong_macao_taiwan_sexStr;
    private String hongkong_macao_taiwan_birth_dayStr;
    private String hongkong_macao_taiwan_addressStr;
    private String hongkong_macao_taiwan_idStr;
    private String hongkong_macao_taiwan_officeStr;
    private String hongkong_macao_taiwan_expire_start_dayStr;
    private String hongkong_macao_taiwan_expire_end_dayStr;
    private String hongkong_macao_taiwan_traffic_permit_numStr;
    private String hongkong_macao_taiwan_sign_issue_timeStr;
    private String photoDataHexStr;
    private byte[] photoData;
    private byte[] fingerprintData;
    private String extraData;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getName() {
        return name == null ? "" : name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex == null ? "" : sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getNation() {
        return nation == null ? "" : nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public String getBirthday() {
        return birthday == null ? "" : birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getAddress() {
        return address == null ? "" : address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getId() {
        return id == null ? "" : id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOffice() {
        return office == null ? "" : office;
    }

    public void setOffice(String office) {
        this.office = office;
    }

    public String getStartTime() {
        return startTime == null ? "" : startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime == null ? "" : endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getForeign_name() {
        return foreign_name == null ? "" : foreign_name;
    }

    public void setForeign_name(String foreign_name) {
        this.foreign_name = foreign_name;
    }

    public String getForeign_sex() {
        return foreign_sex == null ? "" : foreign_sex;
    }

    public void setForeign_sex(String foreign_sex) {
        this.foreign_sex = foreign_sex;
    }

    public String getForeign_id() {
        return foreign_id == null ? "" : foreign_id;
    }

    public void setForeign_id(String foreign_id) {
        this.foreign_id = foreign_id;
    }

    public String getForeign_citizenship() {
        return foreign_citizenship == null ? "" : foreign_citizenship;
    }

    public void setForeign_citizenship(String foreign_citizenship) {
        this.foreign_citizenship = foreign_citizenship;
    }

    public String getForeign_chinese_name() {
        return foreign_chinese_name == null ? "" : foreign_chinese_name;
    }

    public void setForeign_chinese_name(String foreign_chinese_name) {
        this.foreign_chinese_name = foreign_chinese_name;
    }

    public String getForeign_expire_start_day() {
        return foreign_expire_start_day == null ? "" : foreign_expire_start_day;
    }

    public void setForeign_expire_start_day(String foreign_expire_start_day) {
        this.foreign_expire_start_day = foreign_expire_start_day;
    }

    public String getForeign_expire_end_day() {
        return foreign_expire_end_day == null ? "" : foreign_expire_end_day;
    }

    public void setForeign_expire_end_day(String foreign_expire_end_day) {
        this.foreign_expire_end_day = foreign_expire_end_day;
    }

    public String getForeign_birth_day() {
        return foreign_birth_day == null ? "" : foreign_birth_day;
    }

    public void setForeign_birth_day(String foreign_birth_day) {
        this.foreign_birth_day = foreign_birth_day;
    }

    public String getForeign_version_number() {
        return foreign_version_number == null ? "" : foreign_version_number;
    }

    public void setForeign_version_number(String foreign_version_number) {
        this.foreign_version_number = foreign_version_number;
    }

    public String getForeign_department_code() {
        return foreign_department_code == null ? "" : foreign_department_code;
    }

    public void setForeign_department_code(String foreign_department_code) {
        this.foreign_department_code = foreign_department_code;
    }

    public String getForeign_type_sign() {
        return foreign_type_sign == null ? "" : foreign_type_sign;
    }

    public void setForeign_type_sign(String foreign_type_sign) {
        this.foreign_type_sign = foreign_type_sign;
    }

    public String getForeign_reserved() {
        return foreign_reserved == null ? "" : foreign_reserved;
    }

    public void setForeign_reserved(String foreign_reserved) {
        this.foreign_reserved = foreign_reserved;
    }

    public String getHongkong_macao_taiwan_nameStr() {
        return hongkong_macao_taiwan_nameStr == null ? "" : hongkong_macao_taiwan_nameStr;
    }

    public void setHongkong_macao_taiwan_nameStr(String hongkong_macao_taiwan_nameStr) {
        this.hongkong_macao_taiwan_nameStr = hongkong_macao_taiwan_nameStr;
    }

    public String getHongkong_macao_taiwan_sexStr() {
        return hongkong_macao_taiwan_sexStr == null ? "" : hongkong_macao_taiwan_sexStr;
    }

    public void setHongkong_macao_taiwan_sexStr(String hongkong_macao_taiwan_sexStr) {
        this.hongkong_macao_taiwan_sexStr = hongkong_macao_taiwan_sexStr;
    }

    public String getHongkong_macao_taiwan_birth_dayStr() {
        return hongkong_macao_taiwan_birth_dayStr == null ? "" : hongkong_macao_taiwan_birth_dayStr;
    }

    public void setHongkong_macao_taiwan_birth_dayStr(String hongkong_macao_taiwan_birth_dayStr) {
        this.hongkong_macao_taiwan_birth_dayStr = hongkong_macao_taiwan_birth_dayStr;
    }

    public String getHongkong_macao_taiwan_addressStr() {
        return hongkong_macao_taiwan_addressStr == null ? "" : hongkong_macao_taiwan_addressStr;
    }

    public void setHongkong_macao_taiwan_addressStr(String hongkong_macao_taiwan_addressStr) {
        this.hongkong_macao_taiwan_addressStr = hongkong_macao_taiwan_addressStr;
    }

    public String getHongkong_macao_taiwan_idStr() {
        return hongkong_macao_taiwan_idStr == null ? "" : hongkong_macao_taiwan_idStr;
    }

    public void setHongkong_macao_taiwan_idStr(String hongkong_macao_taiwan_idStr) {
        this.hongkong_macao_taiwan_idStr = hongkong_macao_taiwan_idStr;
    }

    public String getHongkong_macao_taiwan_officeStr() {
        return hongkong_macao_taiwan_officeStr == null ? "" : hongkong_macao_taiwan_officeStr;
    }

    public void setHongkong_macao_taiwan_officeStr(String hongkong_macao_taiwan_officeStr) {
        this.hongkong_macao_taiwan_officeStr = hongkong_macao_taiwan_officeStr;
    }

    public String getHongkong_macao_taiwan_expire_start_dayStr() {
        return hongkong_macao_taiwan_expire_start_dayStr == null ? "" : hongkong_macao_taiwan_expire_start_dayStr;
    }

    public void setHongkong_macao_taiwan_expire_start_dayStr(String hongkong_macao_taiwan_expire_start_dayStr) {
        this.hongkong_macao_taiwan_expire_start_dayStr = hongkong_macao_taiwan_expire_start_dayStr;
    }

    public String getHongkong_macao_taiwan_expire_end_dayStr() {
        return hongkong_macao_taiwan_expire_end_dayStr == null ? "" : hongkong_macao_taiwan_expire_end_dayStr;
    }

    public void setHongkong_macao_taiwan_expire_end_dayStr(String hongkong_macao_taiwan_expire_end_dayStr) {
        this.hongkong_macao_taiwan_expire_end_dayStr = hongkong_macao_taiwan_expire_end_dayStr;
    }

    public String getHongkong_macao_taiwan_traffic_permit_numStr() {
        return hongkong_macao_taiwan_traffic_permit_numStr == null ? "" : hongkong_macao_taiwan_traffic_permit_numStr;
    }

    public void setHongkong_macao_taiwan_traffic_permit_numStr(String hongkong_macao_taiwan_traffic_permit_numStr) {
        this.hongkong_macao_taiwan_traffic_permit_numStr = hongkong_macao_taiwan_traffic_permit_numStr;
    }

    public String getHongkong_macao_taiwan_sign_issue_timeStr() {
        return hongkong_macao_taiwan_sign_issue_timeStr == null ? "" : hongkong_macao_taiwan_sign_issue_timeStr;
    }

    public void setHongkong_macao_taiwan_sign_issue_timeStr(String hongkong_macao_taiwan_sign_issue_timeStr) {
        this.hongkong_macao_taiwan_sign_issue_timeStr = hongkong_macao_taiwan_sign_issue_timeStr;
    }

    public String getPhotoDataHexStr() {
        return photoDataHexStr == null ? "" : photoDataHexStr;
    }

    public void setPhotoDataHexStr(String photoDataHexStr) {
        this.photoDataHexStr = photoDataHexStr;
    }

    public byte[] getPhotoData() {
        return photoData;
    }

    public void setPhotoData(byte[] photoData) {
        this.photoData = photoData;
    }

    public byte[] getFingerprintData() {
        return fingerprintData;
    }

    public void setFingerprintData(byte[] fingerprintData) {
        this.fingerprintData = fingerprintData;
    }

    public String getExtraData() {
        return extraData == null ? "" : extraData;
    }

    public void setExtraData(String extraData) {
        this.extraData = extraData;
    }

    public IdCardInfoBean(String name, String sex, String nation, String birthday, String address, String id, String office, String startTime, String endTime) {
        this.name = name;
        this.sex = sex;
        this.nation = nation;
        this.birthday = birthday;
        this.address = address;
        this.id = id;
        this.office = office;
        this.startTime = startTime;
        this.endTime = endTime;
    }

    public IdCardInfoBean(String name, String sex, String nation, String birthday, String address, String id, String office, String startTime, String endTime, byte[] photoData) {
        this.name = name;
        this.sex = sex;
        this.nation = nation;
        this.birthday = birthday;
        this.address = address;
        this.id = id;
        this.office = office;
        this.startTime = startTime;
        this.endTime = endTime;
        this.photoData = photoData;
    }
}
